package com.winsdom.service;

import com.winsdom.domain.dto.collection.NotificationDefaultConfigDTO;
import com.winsdom.domain.vo.collection.CustomerBillVO;
import com.winsdom.result.PageResult;
import com.winsdom.result.Result;
import org.springframework.transaction.annotation.Transactional;

public interface CollectionService {
    Result<CustomerBillVO> getCustomerBillByCustomerId(Long customerId,String arrearsStatus);
    PageResult getBillList(Long userId, String arrearsStatus, String customerName,
                           String building, int pageNum, int pageSize);


    @Transactional
    void saveDefaultConfig(NotificationDefaultConfigDTO configDTO);

    NotificationDefaultConfigDTO getDefaultConfig();

    /**
     * 获取当前用户id
     * @return
     */
    Integer getCurrentUserId();
}
